package com.hz.basic.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.common.utils.PageUtils;
import com.hz.common.utils.Query;

import com.hz.basic.dao.CbExpandEditionResourceDao;
import com.hz.basic.entity.CbExpandEditionResourceEntity;
import com.hz.basic.service.CbExpandEditionResourceService;


@Service("cbExpandEditionResourceService")
public class CbExpandEditionResourceServiceImpl extends ServiceImpl<CbExpandEditionResourceDao, CbExpandEditionResourceEntity> implements CbExpandEditionResourceService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CbExpandEditionResourceEntity> page = this.page(
                new Query<CbExpandEditionResourceEntity>().getPage(params),
                new QueryWrapper<CbExpandEditionResourceEntity>()
        );

        return new PageUtils(page);
    }

}